home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / src / kernel / fsdm / fsdmInt.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-12-19  |  1.2 KB  |  47 lines

  1. /*
  2.  * fsdmInt.h --
  3.  *
  4.  *    Definitions related to the storage of a filesystem on a disk.
  5.  *
  6.  * Copyright 1989 Regents of the University of California
  7.  * Permission to use, copy, modify, and distribute this
  8.  * software and its documentation for any purpose and without
  9.  * fee is hereby granted, provided that the above copyright
  10.  * notice appear in all copies.  The University of California
  11.  * makes no representations about the suitability of this
  12.  * software for any purpose.  It is provided "as is" without
  13.  * express or implied warranty.
  14.  *
  15.  *
  16.  * $Header: /cdrom/src/kernel/Cvsroot/kernel/fsdm/fsdmInt.h,v 9.4 90/10/08 16:08:07 mendel Exp $ SPRITE (Berkeley)
  17.  */
  18.  
  19. #ifndef _FSDMINT
  20. #define _FSDMINT
  21.  
  22. #include <stdio.h>
  23. /*
  24.  * Structure to keep information about each fragment.
  25.  */
  26.  
  27. typedef struct FsdmFragment {
  28.     List_Links    links;        /* Links to put in list of free fragments of 
  29.                    this size. */
  30.     int        blockNum;    /* Block that this fragment comes from. */
  31. } FsdmFragment;
  32.  
  33.  
  34. /*
  35.  * A table of domains.  This is used to go from domain number
  36.  * to the state for the domain.
  37.  *
  38.  * FSDM_MAX_LOCAL_DOMAINS defines how many local domains a server can keep
  39.  *      track of.
  40.  */
  41. #define FSDM_MAX_LOCAL_DOMAINS    20
  42. extern Fsdm_Domain *fsdmDomainTable[];
  43.  
  44.  
  45. #endif /* _FSDMINT */
  46.  
  47.